package it.multisystem.pitagora;

public class TavolaPitagoricaBase {
	public static void main(String[] args) {
		final int size = 10;
		
		for(int i = 1; i <= size; i++) {
			for(int j = 1; j <= size; j++) {
				System.out.print(i * j + " ");
			}
			System.out.println();
		}
		
//		for(int i = 0, j = 1, k = 0, fib = 0; i < 20; i++, fib = j+ k, j = k, k = fib) {
//			System.out.println(String.format("Fibonacci(%d) = %d", i, fib));
//		}
//		System.out.println("========");
//		for(int i = 0; i < 20; i++) {
//			System.out.println(String.format("Fibonacci(%d) = %d", i, fibonacci(i)));
//		}
		
	}
	
	private static int fibonacci(int n) {
		if(n == 0 || n == 1) {
			return n;
		}
		return fibonacci(n - 1) + fibonacci (n - 2);
	}
	
	private static String leftPad(String val, int length) {
		return val;
	}
}
